import Mock from 'mockjs';
Mock.mock("/api/login","get",{
    code:200,
    msg:Mock.Random.cname(),
    user:{name:"彭于晏",age:18,rank:10},
    token:'joaaohiefuopieeaskfoefeop'
})
Mock.mock("api/fenlei","get",{
     "data|4":[{img:"/src/assets/big.jpg",name:()=>Mock.Random.cname()}]
})